package com.virga.splashscreen;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class VirgasplashscreenActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        setContentView(R.layout.splash);
        
        Handler x = new Handler();
        x.postDelayed(new SplashHandler(), 4000);
        
        
    }
    
    public class SplashHandler implements Runnable {
    	public void run(){
    		startActivity(new Intent(getApplication(), main.class));
    		VirgasplashscreenActivity.this.finish();
    	}
    	
    }

}